package net.dengzixu.java.homework.period12.homework1;

/**
 * @author Deng Zixu <admin@dengzixu.com>
 */
public class TV {
    public String channel;
    public String size;
    public String brand;

    public void switchChannel() {
        System.out.println("切换频道");
    }

    public void getInfo() {
        System.out.printf("品牌: %s 尺寸: %s 当前频道: %s", brand, size, brand);
    }
}
